package com.foreknow.demo4;

public class Animal {
    String name;
    int age;
    int health;

    public void eat() {
        System.out.println(name + " 吃饭......");
    }

    public void showInfo() {
        System.out.println(name + "--" + age + "--" + health);
    }
}
